package com.chinanet.oracle.entry;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "MODEL")
public class  OModel implements Serializable {

    @Id
    @Column(name = "pid")
    private BigDecimal pid;

    @Column(name = "NAME")
    private String name;

    @Column(name = "DESCRIPTION")
    private String description;

    @Column(name = "JSON")
    private String json;

    @Column(name = "ORIGIN")
    private String origin;

    @Column(name = "CONDITION")
    private String condition;

    @Column(name = "BRANCH")
    private String branch;

    @Column(name = "ISELECT")
    private String isElect;

    @Column(name = "ODB")
    private Date odb;

    @Column(name = "AUTHOR")
    private String author;

    @Column(name = "DELMARK")
    private String delmark;
    @Column(name = "TIME")
    private String time;
    @Column(name = "MTYPE")
    private BigDecimal mType;

    public BigDecimal getPid() {
        return pid;
    }

    public void setPid(BigDecimal pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getIsElect() {
        return isElect;
    }

    public void setIsElect(String isElect) {
        this.isElect = isElect;
    }

    public Date getOdb() {
        return odb;
    }

    public void setOdb(Date odb) {
        this.odb = odb;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDelmark() {
        return delmark;
    }

    public void setDelmark(String delmark) {
        this.delmark = delmark;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public BigDecimal getmType() {
        return mType;
    }

    public void setmType(BigDecimal mType) {
        this.mType = mType;
    }
}
